package com.example.designpatterns.factory;

/**
 * 具体创建者B - 实现工厂方法以返回ConcreteProductB的实例
 */
public class ConcreteCreatorB extends Creator {
    @Override
    public Product createProduct() {
        return new ConcreteProductB();
    }
} 